<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../第二次尝试/todolist/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<p v-if="seen">现在你能不能看到我</p>
			<a v-bind:href="url">123</a>
			<div @click="click1">
				<div @click.stop="click2">
					click me
				</div>
			</div>
		</div>
		<script type="text/javascript">
			var vm = new Vue({
				el: "#app",
				data: {
					seen: false,
					url: "https://cn.vuejs.org/v2/guide/syntax.html#Attribute"
				},
				methods: {
					click1: function() {
						console.log('click1......');
					},
					click2: function() {
						console.log('click2......');
					},
				}
			});
		</script>
	</body>
</html>
